package com.jinzecloud.fiction.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jinzecloud.fiction.utils.PageUtils;
import com.jinzecloud.fiction.utils.Query;

import com.jinzecloud.fiction.mapper.TbRolePermissionRelevanceMapper;
import com.jinzecloud.fiction.bean.TbRolePermissionRelevance;
import com.jinzecloud.fiction.service.TbRolePermissionRelevanceService;


@Service("tbRolePermissionRelevanceService")
public class TbRolePermissionRelevanceServiceImpl extends ServiceImpl<TbRolePermissionRelevanceMapper, TbRolePermissionRelevance> implements TbRolePermissionRelevanceService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TbRolePermissionRelevance> page = this.page(
                new Query<TbRolePermissionRelevance>().getPage(params),
                new QueryWrapper<TbRolePermissionRelevance>()
        );

        return new PageUtils(page);
    }

}